package com.rla.service;

import com.rla.domain.MallOrderPay;
import com.rla.domain.vo.MallOrderPayVo;
import com.rla.domain.bo.MallOrderPayBo;
import com.rla.common.core.page.TableDataInfo;
import com.rla.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 订单支付Service接口
 *
 * @author rla
 * @date 2025-08-11
 */
public interface IMallOrderPayService {

    /**
     * 查询订单支付
     */
    MallOrderPayVo queryById(String id);

    /**
     * 查询订单支付列表
     */
    TableDataInfo<MallOrderPayVo> queryPageList(MallOrderPayBo bo, PageQuery pageQuery);

    /**
     * 查询订单支付列表
     */
    List<MallOrderPayVo> queryList(MallOrderPayBo bo);

    /**
     * 新增订单支付
     */
    Boolean insertByBo(MallOrderPayBo bo);

    /**
     * 修改订单支付
     */
    Boolean updateByBo(MallOrderPayBo bo);

    /**
     * 校验并批量删除订单支付信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
